package com.example.tellwin.mine.contract;

import com.example.tellwin.base.BaseContract;
import com.example.tellwin.mine.bean.GradeBean;
import com.example.tellwin.mine.bean.MandarinBeam;
import com.example.tellwin.mine.bean.OrderDetailBean;
import com.example.tellwin.mine.bean.QualificationBean;
import com.example.tellwin.mine.bean.SubjectBean;
import com.example.tellwin.mine.bean.WeChatPayBean;
import com.google.gson.JsonObject;

import java.util.List;

/**
 * @author : LinZePeng
 * @date : 2020/12/7
 * @Describe ：
 **/
public interface OrderDetailContract {
    interface View extends BaseContract.BaseView {
        void orderDetailResult(OrderDetailBean orderDetailBean);

        void cancelOrderSuccess();

        void meetOrderResult();

        void selectAnswerTypeResult(int type);

        void sendOrderResult();

        void onWeChatPay(String payId , WeChatPayBean weChatPayBean);

        void payQuerySuccess();

        void orderEvaluateSuccess();

        void onAliPay(String data);

        void onBalancePay();


        void newOrderSuccess(String orderId);
    }

    interface Presenter<T> extends BaseContract.BasePresenter<T> {
        void getOrderDetail(String orderId);

        void cancelOrder(String orderId);

        void meetOrder(String orderId);

        void selectAnswerType(String orderId, int type);

        void sendOrder(String orderId);

        void orderPay(String orderId , int type);

        void payQuery(String payId ,int type);

        void orderEvaluate(String orderId , String content , String isSatisfied , String score);

        void newOrder(String orderId);
    }
}
